projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c45789a
)
* lisp/vc/vc.el (vc-checkin): Simplify 'run-hook' call.
author
Charles A. Roelli
<charles@aurox.ch>
Mon, 1 Oct 2018 19:41:11 +0000
(21:41 +0200)
committer
Charles A. Roelli
<charles@aurox.ch>
Mon, 1 Oct 2018 19:41:11 +0000
(21:41 +0200)
lisp/vc/vc.el
patch
|
blob
|
history
diff --git
a/lisp/vc/vc.el
b/lisp/vc/vc.el
index d3d66d6fb5fba8eeefebf89b6997f3c080ea29cd..6962664d59f905bfbb70dda685049708dd4d0d0d 100644
(file)
--- a/
lisp/vc/vc.el
+++ b/
lisp/vc/vc.el
@@
-1536,8
+1536,7
@@
The optional argument REV may be a string specifying the new revision
level (only supported for some older VCSes, like RCS and CVS).
Runs the normal hooks `vc-before-checkin-hook' and `vc-checkin-hook'."
- (when vc-before-checkin-hook
- (run-hooks 'vc-before-checkin-hook))
+ (run-hooks 'vc-before-checkin-hook)
(vc-start-logentry
files comment initial-contents
"Enter a change comment."